
<%@page import="clases.Institucion"%>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>

<h1>Modificar Ruta </h1>
<div class="center" id="alerta">
    <bean:write name="Ruta" property="mensaje" />
</div>  
<html:javascript formName="Ruta"/>
<html:form action="/Administrador/Rutas/Modificar?method=update" onsubmit = "return validarRuta(this)">
    <table>
        <tbody>
        <td>Nombre:</td>
        <td><html:text maxlength="40" property="nombre" /></td>
        <tr>
            <td>Parada:</td>
            <td><html:text maxlength="40" property="parada" /></td>
        </tr>
        <tr>
            <td>Turno:</td>
            <td><html:text maxlength="40" property="turno" /></td>
        </tr>
        <html:hidden property="idRuta" />
    </tr> 
</tbody>
</table>
<div class="center">
    <html:reset styleId="boton">
        <bean:message key="boton.reset" />
    </html:reset>
    <html:submit styleId="boton" >
        <bean:message key="boton.modificar" />
    </html:submit>
</div> 
</html:form>

<tiles:insert page="agregarInstitucion.jsp" />